const bootstraper = require('./libs/KoaBootstraper');

const routers = [
  require('./app/controller/HomeController'),
  require('./app/controller/HwCloudController'),
  require('./app/controller/DbToolController'),
  require('./app/controller/DbController'),
  require('./app/controller/ToolsController'),
  require('./app/apiController/AccountController'),
  require('./app/apiController/RbacController'),
  require('./app/apiController/MenuController'),
  require('./app/apiController/CryptoController'),
  require('./app/apiController/CS4PLController'),
  require('./app/apiController/HuaWeiCloudController'),
  require('./app/apiController/DataController'),
  require('./app/apiController/SharesController'),
  require('./app/apiController/ShellController'),
  require('./app/apiController/SystemParameterController'),
  require('./app/apiController/HarborController'),
  require('./app/apiController/PublishController'),
  require('./app/apiController/ServerTracController'),
  require('./app/apiController/capitaland/iWorkflowController'),
  require('./app/apiController/capitaland/LogController'),
  require('./app/apiController/capitaland/ServerMonitor')
];

bootstraper.run(__dirname, routers, 7000);